package com.geekaca.oop;

public class TestMain {
    public static void main(String[] args) {
        //自己定义的类型 class类型
        Car car = new Car();
        car.color = "蓝色";
        car.drive();
        car.name="比亚迪";
        car.price=18888;

        car.showInfo();


        Car car1 = new Car();
        car1.color="红色";

    }
}
